package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("user")
public class User {
    @Schema(description="用户ID")
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;
    @Schema(description="用户昵称")
    private String nickName;
    @Schema(description="头像URL")
    private String avatarUrl;
    @Schema(description="性别(0-未知,1-男,2-女)")
    private Integer gender;
    @Schema(description="国家")
    private String country;
    @Schema(description="省份")
    private String province;
    @Schema(description="城市")
    private String city;
    @Schema(description="语言")
    private String language;
    @Schema(description="微信openid")
    private String openid;
    @Schema(description="积分")
    private Integer points;
    @Schema(description="会员等级")
    private Integer vipLevel;
    @Schema(description="健康评分")
    private Integer healthScore;
    @Schema(description="宠物数量")
    private Integer petCount;
    @Schema(description="创建时间",format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Schema(description="修改时间",format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}